package com.hospital;

import common.core.util.SpringUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author liubo
 * @created 2019-12-20 15:33
 */
@Slf4j
@SpringBootApplication
public class HospitalService {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(HospitalService.class, args);
        SpringUtils.initContext(context);
        log.info("{} 启动成功", HospitalService.class);
    }

}
